#ifndef __OPTIONS_H
#define __OPTIONS_H

#define DAEMON_NAME "lightbeat"
#define PIDFILE "/var/run/lightbeat.pid"

typedef struct {
        int debug;
        char * logfile;
        char * pidfile;
        int daemonmode;
        int help;
        char * pulsedev;
        int rate;
        int bufsize;
} lightoptions;

lightoptions * get_options(int argc, char *argv[]);


#endif
